projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2220131
)
xsm: Corrected check in io_has_perm()
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 23 Oct 2009 09:12:52 +0000
(10:12 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 23 Oct 2009 09:12:52 +0000
(10:12 +0100)
Fix the check in io_has_perm() to correctly check the start and end
of I/O Memory.
Signed-off-by : George Coker <gscoker@alpha.ncsc.mil>
Signed-off-by : Paul Nuzzi <pjnuzzi@tycho.ncsc.mil>
xen/xsm/flask/hooks.c
patch
|
blob
|
history
diff --git
a/xen/xsm/flask/hooks.c
b/xen/xsm/flask/hooks.c
index 2b996c5d1e23e951acc54645b016ad1b8c8205a9..c2aaec80b62a9ee86cc121d735fdcc43cbb4171f 100644
(file)
--- a/
xen/xsm/flask/hooks.c
+++ b/
xen/xsm/flask/hooks.c
@@
-1176,7
+1176,7
@@
static int io_has_perm(struct domain *d, char *name, unsigned long s,
return rc;
if ( s != e )
- rc = iomem_has_perm(d,
s
, access);
+ rc = iomem_has_perm(d,
e
, access);
}
else if ( strcmp(name, "Interrupts") == 0 )
{